package com.qiangesoft.tenantid.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qiangesoft.tenantid.entity.SysDept;
import com.qiangesoft.tenantid.mapper.SysDeptMapper;
import com.qiangesoft.tenantid.service.ISysDeptService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 部门信息 服务实现类
 * </p>
 *
 * @author qiangesoft
 * @since 2024-04-11
 */
@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> implements ISysDeptService {

    @Override
    public List<SysDept> listByParam(Long parentId) {
        return baseMapper.listByParam(parentId);
    }
}
